package cn.zebra.dev.admin.module.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class ProductListDTO {

    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品图片")
    private String productImage;

    @ApiModelProperty(value = "商品最低价")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "商品最高价")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "商品编号")
    private String productSn;

    @ApiModelProperty(value = "销量")
    private Long sellNum = 0L;

    @ApiModelProperty(value = "是否上架")
    private Boolean saleFlag;

    @ApiModelProperty(value = "是否显示")
    private Boolean showFlag;
}
